<?php /* Smarty version Smarty-3.1.21, created on 2015-05-30 14:21:24
         compiled from "D:\mywamp\www\2015php\wenda\Index\View\home\myask.html" */ ?>
<?php /*%%SmartyHeaderCode:163215569c764c2d1c3-77924964%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8a25b411c083c42270af1bc614c1755bb10be957' => 
    array (
      0 => 'D:\\mywamp\\www\\2015php\\wenda\\Index\\View\\home\\myask.html',
      1 => 1432978633,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '163215569c764c2d1c3-77924964',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'myask' => 0,
    'ask' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21',
  'unifunc' => 'content_5569c764d8cad0_89660544',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5569c764d8cad0_89660544')) {function content_5569c764d8cad0_89660544($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_substr')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.substr.php';
if (!is_callable('smarty_modifier_date_format')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.date_format.php';
?>		<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo @constant('__PUBLIC__');?>
/Js/homequesttab.js"><?php echo '</script'; ?>
>
		<p class='title'>我的提问</p>
			<ul class='ask-filter'>
				<li class='<?php if (isset($_GET['slove'])&&$_GET['slove']==0) {?>cur<?php }?>' data-slove="0">待解决问题</li>
				<li class='<?php if (isset($_GET['slove'])&&$_GET['slove']==1) {?>cur<?php }?>' data-slove="1">已解决问题</li>
			</ul>
			<div class='list list-filter'>
				<table>
					<?php if (count($_smarty_tpl->tpl_vars['myask']->value)==0) {?>
					<tr height='140'>
						<td>你还没有待解决的提问 V_V </td>
					</tr>
					<?php } else { ?>
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th class='t3'>更新时间</th>
					</tr>
						<?php  $_smarty_tpl->tpl_vars['ask'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ask']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['myask']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ask']->key => $_smarty_tpl->tpl_vars['ask']->value) {
$_smarty_tpl->tpl_vars['ask']->_loop = true;
?>
						<tr>
							<td class='t1'>
								<a href="<?php echo @constant('__APP__');?>
?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['ask']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['ask']->value['content'],45);?>
</a><span>[<?php echo $_smarty_tpl->tpl_vars['ask']->value['title'];?>
]</span>
							</td>
							<td><?php echo $_smarty_tpl->tpl_vars['ask']->value['answer'];?>
</td>
							<td class='t3'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ask']->value['time'],"%Y-%m-%d");?>
</td>
						</tr>
						<?php } ?>
					<?php }?>
				</table>
			</div>
			<div class='list list-filter hidden'>
				<table>
					<tr height='140'>
						<td>你还没有已解决的提问</td>
					</tr>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>

					<tr>
						<td class='t1'>
							<a href=""></a><span>[电脑/硬件]</span>
						</td>
						<td>20</td>
						<td class='t3'>2014-9-4</td>
					</tr>
				</table>
			</div>
<?php }} ?>
